<%@page import="com.core.basic.secure.domain.*"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>

<rapid:override name="head">
	<title><%=Resources.TABLE_ALIAS%>信息</title>
</rapid:override>

<rapid:override name="content">
	<form:form modelAttribute="resources">
		<input type="button" value="返回列表"
			onclick="window.location='${ctx}/resources'" />
		<input type="button" value="后退" onclick="history.back();" />

		<input type="hidden" id="id" name="id" value="${resources.id}" />

		<table class="formTable">
			<tr>
				<td class="tdLabel"><%=Resources.ALIAS_NAME%></td>
				<td><c:out value='${resources.name}' /></td>
			</tr>
			<tr>
				<td class="tdLabel"><%=Resources.ALIAS_TYPE%></td>
				<td><c:out value='${resources.type}' /></td>
				<form:input path="type" id="type"
					cssClass="validate-integer max-value-2147483647" maxlength="10" />
			</tr>
			<tr>
				<td class="tdLabel"><%=Resources.ALIAS_PRIORITY%></td>
				<td><c:out value='${resources.priority}' /></td>
			</tr>
			<tr>
				<td class="tdLabel"><%=Resources.ALIAS_URL%></td>
				<td><c:out value='${resources.url}' /></td>
			</tr>
			<tr>
				<td class="tdLabel"><%=Resources.ALIAS_MEMO%></td>
				<td><c:out value='${resources.memo}' /></td>
			</tr>
		</table>
	</form:form>
</rapid:override>

<%-- jsp模板继承,具体使用请查看: http://code.google.com/p/rapid-framework/wiki/rapid_jsp_extends --%>
<%@ include file="base.jsp"%>